<?php

namespace
{

    use System\StartUp;
use System\Core\Applications;
use System\Core\Errors\Error;

header('text/plain');

    error_reporting(E_ALL);

    define('FCPATH', __DIR__ . DIRECTORY_SEPARATOR);

    require_once 'StartUp.php';

    class index extends StartUp
    {

        protected function end()
        {

        }

        protected function init()
        {
            Applications::SetDefaultApplication('AESS');
            Applications::SetApplicationsPath(realpath(SYSPATH . '../AESS'), 'AESS');

            AESS\Config::Main();
        }

        /**
         * Marks a system errors loggeds
         * @param Error $error
         */
        protected function log(Array $error)
        {
            
        }

    }

    new index();
}
